package com.jike.shop.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ResultCodeEnum implements ReplyEnum{

    SUCCESS("0000", "成功"),
    ERROR_PARAM("1001", "参数错误"),
    MIDDLEWARE_DB_ERROR("2001", "中间件错误-数据库异常"),
    MIDDLEWARE_CACHE_ERROR("2001", "中间件错误-缓存异常"),
    MIDDLEWARE_MQ_ERROR("2001", "中间件错误-消息队列异常"),
    ERROR("9999", "系统错误");

    private String code;
    private String message;

}
